<script setup>
import { ref } from "vue";
import GetLen from "utils/common.js";
// import './element-ui.scss'

defineProps({
  msg: String,
});

const str = ref("朱小明");
const len = GetLen(str.value);
</script>

<template>
  <h1>{{ msg }}</h1>
  <h3>我是{{ len }}个字的名字。</h3>
  <p>
    <div>vuex-store计数器当前值：
      <span style="color:red;">{{ $store.state.couter }}</span>
    </div>
  </p>
  <div>
    <el-input style="width:200px;"></el-input>
    <el-button>我是Element3按钮</el-button>
  </div>
</template>
